<?php
class foo {
    public $name;
    public $email ;
    
    public function __construct($dd, $call){
    	var_dump($call);
    	var_dump(func_get_args());
    }
}

mysql_connect("localhost", "root", "");
mysql_select_db("tatt");

$result = mysql_query("select * from dle_users limit 1");
$obj = mysql_fetch_object($result, 'foo', array('call'=>'from db','dd'=>'sdf'));
var_dump($obj);
?>
